SecOps Architecture

Three tiers. One direction.
Separation is the product.

SecOps converts Anima Kernel from a passive cryptographic recorder into an active cryptographic policy enforcement gate with a tamper-evident, air-gapped archive. This page details the full topology, signature semantics, key separation, ingress mechanisms, and attack-class elimination.

01 · three-tier topology

T1 → T2 → ▷| → T3

Every protected action flows through three cryptographic tiers. The physical one-way boundary between T2 and T3 is the defining constraint. The chain of three signatures — and the absence of any one of them — is the auditable forensic record.

T1 Local Observer SLO < 50ms
Sees every protected action on the endpoint.
T1 runs as a local agent or firmware module on the protected endpoint. It observes every protected action (file access, network crossing, command execution, API call) and signs an observation capsule with a TPM 2.0 / YubiHSM-bound key. The observation includes a hash of the action, a timestamp from the local clock, and the observer's identity attestation.
t1_observation · 0xA000…0001 t1_heartbeat · 0xA000…0002
Key: TPM 2.0 / YubiHSM endpoint-bound. Never leaves the device. Rotation via remote attestation ceremony.
T2 Gate / Enforcer SLO < 5 min
Decides: authorize, quarantine, or kill.
T2 receives the signed T1 observation and evaluates it against a signed policy manifest. Three possible outcomes: authorize (pass-through), quarantine (isolate pending analyst review), or killswitch (emergency halt via N-of-M HSM quorum). The T2 decision is signed with a separate HSM partition key and appended to the chain.
t2_authorize · 0xA000…0010 t2_quarantine · 0xA000…0011 t2_killswitch · 0xA000…0012
Key: Separate HSM partition. FIPS 140-3 L2+. Independent from T1 key material.
One-way data diode
Optical, serial pull, or physical media. No return path. T3 never talks back.
T3 Air-gapped Attester SLO < 30 min
Seals: cross-attests and archives.
T3 receives the signed T1+T2 chain through the one-way ingress and cross-attests it with a FIPS 140-3 Level 3 network-HSM or smart-card-bound key. The cross-attestation is Merkle-committed into a tamper-evident, append-only archive. Configuration arrives only by physical key insertion — never over the network.
t3_cross_attest · 0xA000…0020 t3_incident_bundle · 0xA000…0021
Key: FIPS 140-3 Level 3 network-HSM or smart-card-bound. Ceremony-only rotation. Never network-accessible.
02 · signature semantics

What each tier signs — and what its absence means

The chain of three signatures is the forensic record. A missing signature at any tier is not a gap — it is evidence. The topology makes bypass detection emergent, not a separate engine.

TierWhat is signedSignature present meansSignature absent meansFinalization
T1 Action hash, endpoint ID, local timestamp, observer attestation The action was observed by a legitimate, attested observer on the endpoint Action occurred without observation — observer compromised, disabled, or bypassed FINALIZED
T2 T1 signature + policy manifest hash + gate decision + analyst ID (if manual) The action was evaluated against policy and an explicit decision was made Action reached execution without policy evaluation — gate bypassed or misconfigured SIGNED
T3 T1+T2 chain + Merkle root + sequence number + cross-attestation timestamp The full chain was archived in a tamper-evident, air-gapped store Attestation chain never reached the air-gapped archive — diode failure, suppression, or data loss WITNESSED

Missing signatures are themselves evidence. Bypass and tamper detection are emergent from the topology, not a separate detection engine. If T1 is present but T2 is missing, the action bypassed the gate. If T1+T2 are present but T3 is missing, the archive was never updated. Each absence narrows the forensic hypothesis space.

03 · key separation matrix

Per-tier HSM key separation

Each tier uses physically and cryptographically separate key material. Compromise of one tier's key does not grant signing authority in another tier.

TierHSM typeKey bindingRotationFIPS levelAccess boundary
T1 TPM 2.0 / YubiHSM Endpoint-bound, non-exportable Remote attestation ceremony FIPS 140-3 L1–L2 Physical device boundary
T2 Separate HSM partition Partition-bound, operator-accessible Scheduled rotation + emergency re-key FIPS 140-3 L2+ Network segment boundary
T3 FIPS 140-3 L3 network-HSM or smart card Ceremony-only, never network-accessible Physical ceremony with M-of-N custodians FIPS 140-3 L3 Air-gap boundary (physical)
Killswitch key (t2_killswitch): Requires N-of-M HSM quorum across physically separated custodians. Emergency halt is irreversible until a physical ceremony reset. This prevents single-operator compromise from triggering or preventing a killswitch.
04 · one-way ingress mechanisms

Three mechanisms, ranked by assurance

The one-way ingress between T2 and T3 is the defining physical constraint. T3 never talks back. Configuration arrives by physical key insertion only.

RankMechanismAssuranceBandwidthLatencyTradeoffs
01 Optical data diode Highest — no electrical return path High (fiber-optic) Near real-time Cost; vendor certification required; physical installation
02 Serial pull High — T3 initiates, schedule-bound Low-medium (RS-232) Batch (schedule-dependent) Lower bandwidth; requires strict protocol discipline; timing gap
03 Physical media Acceptable — manual courier chain Highest (bulk transfer) Hours to days Manual handling; custody chain on physical medium; low-volume only
05 · clock discipline on the air gap

Maintaining temporal integrity without network time

T3 cannot reach NTP servers. Three strategies maintain temporal integrity across the air gap, selectable per deployment.

GPS-disciplined oscillator

T3 appliance includes a GPS receiver and an oven-controlled crystal oscillator (OCXO). GPS provides absolute time; OCXO free-runs during signal loss. Drift: ±100ns when locked, ±1µs/day holdover.

BEST FOR: Critical infrastructure, utility, OT deployments requiring absolute timestamps.

Roughtime over diode

Roughtime protocol messages pass through the one-way ingress. T3 validates Roughtime signatures but cannot send requests — it accepts whatever messages arrive. Provides authenticated wall-clock bounds.

BEST FOR: Deployments with optical diode that can carry Roughtime alongside attestation data.

Sequence-only Merkle ordering

No wall-clock dependency. T3 assigns monotonic sequence numbers and builds a hash chain. Temporal ordering is relative, not absolute. Forensic queries use "before/after" rather than timestamps.

BEST FOR: Highest-assurance deployments where any external time source is a trust dependency to eliminate.
06 · capsule lifecycle

Issuance, rotation, revocation

SecOps capsules follow the kernel's standard capsule lifecycle with tier-specific constraints on key ceremony and revocation semantics.

PhaseT1 behaviorT2 behaviorT3 behavior
Issuance Capsule binary deployed to endpoint; TPM-bound key generated on first boot Capsule registered in gate manifest; HSM partition allocated; policy manifest signed Capsule registered in air-gapped registry via physical media; FIPS L3 key generated in ceremony
Rotation Remote attestation ceremony; new key generated in-place; old key revoked after drain period Scheduled rotation; new partition key; old key remains for verification of historical attestations Physical ceremony with M-of-N custodians; new smart card or HSM key; old key sealed in tamper bag
Revocation Immediate: endpoint agent stops signing; heartbeat ceases (absence = evidence) Immediate: gate stops accepting actions for the revoked capsule; quarantine issued Delayed: revocation arrives via next ingress batch; T3 marks all subsequent attestations as revoked-context
07 · add-only governance

Rule 0: SecOps composes, never edits

SecOps adds capsules and gates in parallel with every other Anima Kernel vertical. It never touches another vertical's manifests, signatures, or ledgers.

ADD-ONLY guarantee: SecOps capsule IDs occupy the 0xA000…0000 – 0xAFFF…FFFF range. No SecOps operation reads, writes, or modifies any capsule, manifest, or ledger entry outside this range. The kernel enforces this at the runtime level — SecOps WASM modules have no host ABI access to other verticals' sealed stores.

What SecOps does
  • + Adds observation capsules to every endpoint
  • + Adds enforcement gates inline with protected actions
  • + Adds air-gapped archive as third attestation layer
  • + Adds incident bundle packaging for forensic handoff
What SecOps never does
  • Edits another vertical's capsule manifests
  • Reads another vertical's sealed feature stores
  • Modifies ledger entries from other vertical ranges
  • Shares key material across tier boundaries
08 · attack-class elimination

What the one-way ingress removes outright

The physical one-way constraint between T2 and T3 eliminates entire classes of attack. These are not mitigated or reduced — they are architecturally impossible.

Attack class
Why eliminated
Status
Remote archive tampering
T3 has no inbound network interface. No remote code execution path exists.
ELIMINATED
Archive deletion / ransomware
T3 storage is append-only with hardware write-protect. No delete API exists.
ELIMINATED
C2 exfiltration via archive
No return path from T3. Data flows in one direction only. No covert channel possible.
ELIMINATED
Log suppression / evidence destruction
T3 Merkle chain makes gaps detectable. Missing sequence numbers prove suppression.
ELIMINATED
Insider archive modification
T3 configuration requires physical key insertion with M-of-N ceremony. No single insider can modify.
ELIMINATED
Lateral movement from archive
T3 has no outbound network connectivity. Compromise of T3 cannot propagate.
ELIMINATED
Time manipulation of archive
GPS-disciplined oscillator or sequence-only ordering. No NTP dependency to spoof.
ELIMINATED
Note: This map covers attacks eliminated by the T3 one-way ingress specifically. T1 and T2 attack surfaces are addressed by per-tier key separation, TPM binding, manifest signing, and standard endpoint hardening — documented in the deployment guides per vertical.